<template>
 <div class="page-container">
   <div class="search"><van-icon style="padding-left:10px;line-height: 40px" class="icon_font" name="search" />
   <span style="font-size: 19px;margin-left: 10px;color: #ccc;position: absolute">二手苹果</span>
     <span class="search_btn">搜索</span>
   </div>
 </div>
</template>

<script>

export default {
name: "Header",
data(){
return{}
},
methods:{}
}

</script>

<style lang="less" scoped>
@import "../assets/style/theme";
.page-container{
  position: relative;
  .icon_font{
    font-size: 25px;
    font-weight: bold;
    color: #ccc;
  }
  width: 100%;
  height: 50px;
  background-color:@theme;
  display: flex;
  justify-content: center;
  align-items: center;
  .search{
    width: 90%;
    height: 40px;
    background-color: #fff;
    border-radius: 20px;
    line-height: 40px;
    border: 1px solid red;
    .search_btn{
      float: right;
      height: 38px;
      width: 70px;
      margin-top: 1px;
      margin-right: 1px;
      border-radius: 20px;
      text-align: center;
      background-color:firebrick;
    }

  }
}
</style>
